﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace tf2hudmaker
{
    // Class that represent the value of an integer field in a .res file
    class FieldInfo_Int : FieldInfo
    {
        // CONSTRUCTORS
        public FieldInfo_Int(string replacestring)
        {
            ReplaceString = replacestring;

            Value = 0;
        }

        public FieldInfo_Int(string replacestring, int value)
        {
            ReplaceString = replacestring;

            Value = value;
        }

        // PROPERTIES
        public int Value;

        // METHODS
        public override string GetFinalString()
        {
            string finalstring = this.Value.ToString();
            return finalstring;
        }
    }
}